﻿<!--#include file="../inc/common.asp" -->
<!--#include file="waputil.asp" -->
<%
  response.contentType="text/vnd.wap.wml"
  'response.contentType="text/xml"
  response.charset=DEFAULT_CHARSET
  response.buffer = true  

%>
<?xml version="1.0" encoding="<%=DEFAULT_CHARSET%>"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapfourm.org/DTD/wml_1.1.xml">
<wml>
<card title="用户登录" newcontext="false" ordered="true">
<p align="left">
用户名:<input name="user_name" title="用户名" type="text" format="*M" emptyok="true" value="<%=HTML2WML(userObj.userName)%>" />
密　码:<input name="user_pass" title="密码" type="password" value="" format="*M" emptyok="false"/>
</p>
<p align="center">
<anchor>[登录]<go href="index.asp" method="post" accept-charset="<%=DEFAULT_CHARSET%>">
        <postfield name="blog_id" value="<%=blogObj.blogId%>"/>
        <postfield name="username" value="$user_name"/>
        <postfield name="password" value="$user_pass"/>
        <postfield name="autoLogin" value="true"/>
    </go></anchor>&nbsp;<anchor>[取消]<prev/></anchor>
</p>
<do type='accept' label='登录' name='submitLogin'>
    <go href="index.asp" method="post" accept-charset="<%=DEFAULT_CHARSET%>">
        <postfield name="blog_id" value="<%=blogObj.blogId%>"/>
        <postfield name="username" value="$user_name"/>
        <postfield name="password" value="$user_pass"/>
        <postfield name="autoLogin" value="true"/>
    </go>
</do>
<%
  writeBlogOptions
%>
</card>
</wml>
<%
  closeDB()
  'session.abandon
%>